import { Injector, Pipe, PipeTransform } from '@angular/core';
import { AppComponentBase } from '@shared/app-component-base';

@Pipe({
  name: 'localize'
})
export class LocalizePipe extends AppComponentBase implements PipeTransform {

  constructor(injector: Injector) {
    super(injector);
  }
 
  transform(key: string): string {
    return this.l(key);
  }
}
